package com.zdy.im.user.dto.request;


import com.sixeco.framework.common.api.ApiDesc;
import com.sixeco.framework.common.data.BaseEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.Serializable;

/**
* @ClassName: ImJoinFriendRequestDto.java
* @Description: 用户加为好友申请信息记录表的数据交互处理类
 * @Author 作者 : zdy
 * @CreateDate 创建时间: 2021-02-30
* @version V1.0.0
* <p>
    * ----------------------------------------------------------------------------
    *  modifyer    modifyTime                 comment
    *
    * ----------------------------------------------------------------------------
    * </p>
*/
public class ImJoinFriendStatusRequestDto extends BaseEntity implements Serializable{


        private Logger logger = LoggerFactory.getLogger(ImJoinFriendStatusRequestDto.class);


 		/** sendUserId 消息来源用户名  */
 		@ApiDesc(value = "消息来源用户名", required = 0)
 		private long sendUserId;

 		/** toId 消息的接收id  */
 		@ApiDesc(value = "消息的接收id", required = 0)
 		private long toId;

 		/** joinStatus 0.申请 1.同意  2.拒绝,3.删除  */
 		@ApiDesc(value = "0.申请 1.同意  2.拒绝,3.删除", required = 0)
 		private int joinStatus;


        public static ImJoinFriendStatusRequestDto build(){
            return new ImJoinFriendStatusRequestDto();
        }


 		public void setSendUserId( long sendUserId){
 		 		this.sendUserId = sendUserId ; 
 		 		}
 		public ImJoinFriendStatusRequestDto toSendUserId(long sendUserId){
 		 		this.sendUserId = sendUserId ; 
 		 		 return this ;
 		}

 		public long getSendUserId(){
 		 		return this.sendUserId;
 		}

 		public void setToId( long toId){
 		 		this.toId = toId ; 
 		 		}
 		public ImJoinFriendStatusRequestDto toToId(long toId){
 		 		this.toId = toId ; 
 		 		 return this ;
 		}

 		public long getToId(){
 		 		return this.toId;
 		}

 		public void setJoinStatus( int joinStatus){
 		 		this.joinStatus = joinStatus ; 
 		 		}
 		public ImJoinFriendStatusRequestDto toJoinStatus(int joinStatus){
 		 		this.joinStatus = joinStatus ; 
 		 		 return this ;
 		}

 		public int getJoinStatus(){
 		 		return this.joinStatus;
 		}




	


}
